<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
//这里获得的就是 协议名://服务器名:请求端口号/项目名/
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 400	
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
	<style type="text/css">
		.input{width:260px; height:20px; line-height:32px; border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; background:url(../images/inputbg.gif) repeat-x; text-indent:10px;}
		
	</style>

</head>


<body>
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="<%=basePath%>clientMgrList">客户经理信息综合管理维护</a></li>
    <li><a href="clientMgrUpdate.html">修改</a></li>
    </ul>
    </div>

    <form action="<%=basePath %>clientMgrUpdate" method="post" enctype="multipart/form-data">
    <div class="formbody">
    <div class="formtitle"><span>客户经理基本信息</span></div>
    
    <ul class="forminfo">
<li><label>姓名</label>
                         <input name="mgrId" type="hidden"value="${clientMgr.mgrId }" >
                         <input name="cname" type="text"
						class="dfinput" value="${clientMgr.cname }" id="cname" onchange="checkUser()"
						required /></li>
					<li><label>性别</label><cite><input name="sex"
							type="radio" value="M" checked="checked" />男
							&nbsp;&nbsp;&nbsp;&nbsp;<input name="sex" type="radio" value="F" />女</cite></li>
					<li><label>身份证号</label><input name="cardNo" type="text"
						class="dfinput" value="${clientMgr.cardNo }" length="18" /></li>
					<li><label>出生年月</label><input name="birthday" type="text"
						class="dfinput"
						value="<fmt:formatDate value="${clientMgr.birthday}" pattern="yyyy-MM-dd"/>" /></li>
					<li><label>年龄</label><input name="age" type="text"
						class="dfinput" value="${clientMgr.age }" /></li>
					<li><label>民族</label><cite> <select class="dfselect"
							name="nation" >
								<c:forEach items="${nationParam}" var="itemtype">
									<option value="${itemtype.key}">${itemtype.value }</option>
								</c:forEach>
						</select>
					</cite></li>
					<li><label>政治面貌</label><cite> <select class="dfselect" 
							name="policeStatus" >
								<c:forEach items="${policeStatus}" var="stutus">
									<option value="${stutus.key }">${stutus.value }</option>
								</c:forEach>
						</select>
					</cite></li>
					<li><label>籍贯</label><input name="homeTown" type="text"
						class="dfinput" value="${clientMgr.homeTown }" /></li>
					<li><label>照片</label><input name="pic" type="file"
						class="dfselect1" /></li>
					<li><label>学历</label><cite> <select class="dfselect"
							name="education" >
								<c:forEach items="${education}" var="edu">
									<option value="${edu.key }">${edu.value }</option>
								</c:forEach>
						</select>
					</cite></li>
					<li><label>学位</label><cite><select class="dfselect"
							name="degree" >
								<c:forEach items="${degree}" var="degree">
									<option value="${degree.key }">${degree.value }</option>
								</c:forEach>
						</select></cite></li>
					<li><label>毕业院校及专业</label><input name="graduation" type="text"
						class="dfinput" value="${clientMgr.graduation}" /></li>
					<li><label>专业技术职称</label><input name="technicalTitle"
						type="text" class="dfinput" value="${clientMgr.technicalTitle }" /></li>
					<li><label>客户经理等级</label><cite><select
							class="dfselect1" name="level" ">
								<c:forEach items="${mgrLevel}" var="level">
									<option value="${level.key }">${level.value }</option>
								</c:forEach>
						</select></cite></li>

					<li><label>所在单位</label><input name="unit" type="text"
						class="dfinput" value="${clientMgr.unit}" /></li>
					<li><label>部门</label><input name="dept" type="text"
						class="dfinput" value="${clientMgr.dept }" /></li>
					<li><label>职务</label><input name="potion" type="text"
						class="dfinput" value="${clientMgr.potion }" /></li>
					<li><label>业务条线</label><cite><input
							name="businessLevel" type="text" class="dfinput" value="${clientMgr.businessLevel }" /></cite></li>
					<li><label>参加工作时间</label><input name="hireDate" type="text"
						class="dfinput"
						value="<fmt:formatDate value="${clientMgr.hireDate }" pattern="yyyy-MM-dd"/>" /></li>
					<li><label>入行时间</label><input name="entryDate" type="text"
						class="dfinput"
						value="<fmt:formatDate value="${clientMgr.entryDate }" pattern="yyyy-MM-dd"/>" /></li>
					<li><label>从事金融工作年限</label><input name="financialYears"
						type="text" class="dfinput" value="${clientMgr.financialYears }" /></li>
					<li><label>客户经理从业年限</label><input name="workYears" type="text"
						class="dfinput" value="${clientMgr.workYears }" /></li>
					<!-- <li><label>退出时间</label><input name="exitTime" type="text" class="dfinput"  value=""/></li> -->
					<li><label>办公电话</label><input name="tel" type="text"
						class="dfinput" value="${clientMgr.tel }" /></li>
					<li><label>手机</label><input name="mobile" type="text"
						class="dfinput" value="${clientMgr.mobile }" /></li>

    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>
    </ul>
    
    </div>
    </form>
</body>

</html>
